
import java.util.Scanner;
interface ICompare {
    int compare(Object obj);
}
class Circle implements ICompare {
    private double radius;

    public Circle(double radius) {
        this.radius = radius;
    }

    @Override
    public int compare(Object obj) {
        if (obj instanceof Circle) {
            Circle other = (Circle) obj;
            return Double.compare(this.radius, other.radius);
        }
        return 0;
    }
}
public class Test33 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double radius1 = scanner.nextDouble();
        double radius2 = scanner.nextDouble();

        Circle circle1 = new Circle(radius1);
        Circle circle2 = new Circle(radius2);

        int result = circle1.compare(circle2);
        if (result > 0) {
            System.out.println("第一个圆大");
        } else if (result < 0) {
            System.out.println("第二个圆大");
        } else {
            System.out.println("两个圆一样大");
        }

        scanner.close();
    }
}